package com.qimo.dao;
import com.qimo.model.IndexShoppingListItem;
import com.qimo.model.Item;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItemDao {
    List<IndexShoppingListItem> IndexItemList(@Param("ISBN")String ISBN, @Param("typeName")String typeName, @Param("shopName")String shopName, @Param("itemName")String itemName,@Param("page")int page);
    Item ItemItem(int itemId);
    int IndexItemListCount(@Param("ISBN")String ISBN, @Param("typeName")String typeName, @Param("shopName")String shopName, @Param("itemName")String itemName);
    int BuyItem(@Param("itemId")int itemId,@Param("Number")int Number);
    int cancelItem(@Param("itemId")int itemId,@Param("Number")int Number);



}
